package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.SupervisorProjectEvaluation;
import com.qili.entity.supervisor.dto.SupervisorProjectEvaluationDTO;
import com.qili.mapper.supervisor.SupersiorProjectEvaluationMapper;
import com.qili.service.supervisor.SupervisorProjectEvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

@Service
public class SupervisorProjectEvaluationServiceImpl extends BaseServiceImpl<SupervisorProjectEvaluation,String> implements SupervisorProjectEvaluationService {

    @Autowired
    private SupersiorProjectEvaluationMapper supersiorProjectEvaluationMapper;

    @Override
    public BaseMapper<SupervisorProjectEvaluation, String> getMappser() {
        return supersiorProjectEvaluationMapper;
    }


    @Override
    public List<SupervisorProjectEvaluationDTO> selectListByType(SupervisorProjectEvaluationDTO supervisorProjectEvaluation){
        return supersiorProjectEvaluationMapper.selectListByType(supervisorProjectEvaluation);
    }

    @Override
    public List<SupervisorProjectEvaluation> selectListByUserId(SupervisorProjectEvaluationDTO evaluation) {
        return supersiorProjectEvaluationMapper.selectListByUserId(evaluation);
    }

    @Override
    public List<SupervisorProjectEvaluation> selectListByUserIdFinished(SupervisorProjectEvaluationDTO evaluation) {
        return supersiorProjectEvaluationMapper.selectListByUserIdFinished(evaluation);
    }

    @Override
    public List<SupervisorProjectEvaluation> selectListByUserIdNotFinished(SupervisorProjectEvaluationDTO evaluation) {
        return supersiorProjectEvaluationMapper.selectListByUserIdNotFinished(evaluation);
    }

    @Override
    public List<SupervisorProjectEvaluation> selectSomeTargetEvaList(SupervisorProjectEvaluation evaluation) {
        return supersiorProjectEvaluationMapper.selectSomeTargetEvaList(evaluation);
    }

    @Override
    public List<String> getFinishedProjectIdListXXDaysAgo() {
        return supersiorProjectEvaluationMapper.getFinishedProjectIdListXXDaysAgo();
    }

    @Override
    public List<String> getNotEvaSSUserIds(String id) {
        return supersiorProjectEvaluationMapper.getNotEvaSSUserIds(id);
    }

    @Override
    public List<String> getNotEvaSCUserIds(Map paraMap) {
        return supersiorProjectEvaluationMapper.getNotEvaSCUserIds(paraMap);
    }
}